FROM registry.cn-beijing.aliyuncs.com/dev-come-on-100/nginx:1.17.3-autoindex

MAINTAINER su@d4s.top

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && mkdir -p /webapps

WORKDIR /webapps
ADD /dist/  /usr/share/nginx/html/

CMD nginx -g 'daemon off;'